<div class="news-container">
	<h3>Check out latest news <?php if(!$isLogged): ?>OR <a class="ainverse" href="index.php?cont=login">Start work now?</a><?php endif; ?></h3>
	<table id="news-table" cellpadding="0" cellspacing="0">
		<?php if(!$news): ?>
			No news at this moment
		<?php else: ?>
			<?php foreach ($news as $newsItem): ?>
				<tr>
					<td colspan="2" class="<?php echo ($newsItem->getVisible()) ? 'news-item-title' : 'news-item-title-novis'; ?>"><?php echo $newsItem->getTitle(); ?></td>
				</tr>
				<tr>
					<td style="font-size: 12px ;color: #aaa; width: 60px; border-right: 1px dashed #cecece; padding: 3px;">Added on: <?php echo date('d M Y', $newsItem->getDateAdd()); ?></td>
					<td class="<?php echo ($newsItem->getVisible()) ? 'news-item-content' : 'news-item-content-novis'; ?>"><?php echo $newsItem->getText(); ?></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
			<?php endforeach; ?>
		<?php endif; ?>
	</table>
</div>